using System;
using System.Collections.Generic;

namespace HISModels.Entities
{
	public class Supplier
	{
	    public Supplier()
		{
			this.Addresses = new List<Address>();
			this.ItemSupplierRels = new List<ItemSupplierRel>();
		}

		public int Id { get; set; }
		public string CodeValue { get; set; }
		public string NameValue { get; set; }
		public string ContactPerson { get; set; }
		public Nullable<System.DateTime> JoinDate { get; set; }
		public string NPWP { get; set; }
		public Nullable<int> TermOp { get; set; }
		public string Phone { get; set; }
		public string Mobile { get; set; }
		public string Fax { get; set; }
		public Nullable<decimal> VAT { get; set; }
		public Nullable<decimal> PPH23 { get; set; }
		public Nullable<decimal> PPH24 { get; set; }
		public Nullable<int> InCatalogue { get; set; }
		public string BankAccount { get; set; }
		public string BankAccountName { get; set; }
		public string BankBranch { get; set; }
		public Nullable<int> BankId { get; set; }
		public Nullable<int> RecordStatus { get; set; }
		public Nullable<int> SupplierTypeId { get; set; }
		public virtual ICollection<Address> Addresses { get; set; }
		public virtual Bank Bank { get; set; }
		public virtual ICollection<ItemSupplierRel> ItemSupplierRels { get; set; }
		public virtual RefSupplierType RefSupplierType { get; set; }
	}
}

